package com.llly.mapper;

import com.github.pagehelper.Page;
import com.llly.pojo.Easybuy_order;
import com.llly.pojo.Easybuy_order_detail;
import com.llly.pojo.Easybuy_product;

import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

public interface OrderMapper {
    //根据用户id查询订单
    public List<Easybuy_order> showOrder(Integer userId);
    //根据订单号删除订单
    public int delOrder(String serialNumber);
    //根据用户名删除该用户全部订单
    public int delAllOrder(String loginName);
    //订单完成后，修改订单信息
    public int addOrder(Easybuy_order easybuy_order);

    //订单完成后，修改订单详情
    public int addOrderDetail(Easybuy_order_detail easybuy_order_detail);


}